package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;
@NoArgsConstructor
@Getter
@Setter
@TableName("tb_video")
public class Video {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("video_title")
    private String videoTitle;
    @TableField("video_url")
    private String videoUrl;
    @TableField("course_id")
    private Integer courseId;
    @TableField(exist = false)
    private LocalDateTime createDate;
    @TableField("video_thumb")
    private Integer videoThumb;
}
